
import javax.inject.Named;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Rune
 */

@Named (value="c")

public class Calc {
    
    private Beregninger b = new Beregninger();
    private double divisor = 7.5;
    
    public double finnProsent(){
        return (b.getOg() - b.getFg())/ divisor;
    }
    
}
